package com.he.test;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @description: TODO
 * @Author: HCL
 * @Date: 2024/12/31 11:06
 */
@Service
public class BigDecimalTest2 {

    @Transactional
    public void test2() {
        try {
            int i = 10 / 0;
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }
}
